<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title;?></title>
<?php echo $header;?>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="table_top_left" width="17" valign="top"></td>
		<td class="table_top_middle" valign="top">
			<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
				<tr>
					<td height="31" align="left"><div class="titlebt"><?php echo $page_label;?></div></td>
				</tr>
			</table>
		</td>
		<td class="table_top_right" width="16" valign="top"></td>
	</tr>
	<tr>
		<td class="table_left_side" height="71" valign="middle"></td>
		<td valign="top" bgcolor="#F7F8F9">
			<table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td valign="top">
						<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr><td align="left" class="left_txt"><?php echo $nav_label,$title;?></td></tr>
							<tr><td>						
								<form id="f_config" name="f_config" method="post" action="">
									<table width="100%" class="list" cellpadding="0" style="border-collapse: collapse" border="1" bordercolor="#BFC4CA">
									<tr>
										<th width="3%" height="25" bgcolor="#EEF2FB"><?php echo lang('com_list_number');?></th>
										<th width="32%" bgcolor="#EEF2FB"><?php echo lang('article_title');?></th>
										<th width="10%" bgcolor="#EEF2FB"><?php echo lang('com_list_column');?></th>
										<th width="11%" bgcolor="#EEF2FB"><?php echo lang('com_list_create_time');?></th>
										<th width="7%" bgcolor="#EEF2FB"><?php echo lang('com_list_visit');?></th>
										<th width="5%" bgcolor="#EEF2FB"><?php echo lang('com_list_verify');?></th>
										<th width="5%" bgcolor="#EEF2FB"><?php echo lang('com_list_recommend');?></th>
										<th width="5%" bgcolor="#EEF2FB"><?php echo lang('com_list_top');?></th>
										<th width="5%" bgcolor="#EEF2FB"><?php echo lang('com_list_active');?></th>
										<th width="11%" bgcolor="#EEF2FB"><?php echo lang('com_list_operation');?></th>
										<th width="6%" bgcolor="#EEF2FB"><?php echo lang('com_list_check_all');?>
											<input name="chkall" type="checkbox" id="chkall" value="listid[]" /></th>
									</tr>
									<!-- 循环开始 -->
									<?php
									if (count($article)>0):
										$i=1;
										foreach ($article as $list):
									?>
										<tr>
											<td height="25"><?php echo $list['ordernum'];?></td>
											<td height="25" align="left"><a href="#<?php echo $list['id'];?>" target="_blank" title="<?php echo $list['title'];?>"><?php echo $list['title'];?></a></td>
											<td height="25"><?php echo $list['columnname'];?></td>
											<td height="25" title="<?php echo lang('com_list_update_time').':'.$list['updatetime'];?>"><?php echo $list['createtime'];?></td>
											<td><?php echo $list['visit'];?></td>
											<td height="25"><?php echo $list['isverify'];?></td>
											<td><?php echo $list['isrecommend'];?></td>
											<td><?php echo $list['istop'];?></td>
											<td height="25"><?php echo $list['isactive'];?></td>
											<td height="25"><a href="<?php echo base_url('article/edit/'.$list['id']);?>"><?php echo lang('com_button_edit');?></a>
											&nbsp; <a title="<?php echo lang('article_title_state_config');?>" href="<?php echo base_url('article/article_state/'.$list['id']);?>" name="state_config" id="state_config"><?php echo lang('com_button_setting');?></a>&nbsp;</td>
											<td height="25"><input name="listid[]" type="checkbox" value="<?php echo $list['id'];?>" /></td>
										</tr>
									<?php
											$i++;
										endforeach;
									else:
										echo '<tr><td height="25" colspan="11" >&nbsp;'.lang('com_tip_no_content').'</td></tr>';
									endif;
									?>
									<!-- 循环结束 -->
									<tr>
									<td height="25" colspan="11" align="right"><input name="delete_url" type="hidden" id="delete_url" value="<?php echo base_url('article/delete_action');?>" />
										<input class="button" name="b_delete" id="b_delete" type="button" value="<?php echo lang('com_button_delete');?>" /></td>
									</tr> 								
									</table>
								</form>
								<table border="0" cellspacing="1" class="navi" width="100%">
									<tr><td height="30" align="center"><?php echo $page;?></td></tr>
								</table>
							</td></tr>
					  </table>
					</td>
				</tr>
			</table>
		</td>
		<td class="table_right_side"></td>
	</tr>
	<tr>
		<td valign="middle" class="table_bottom_left">&nbsp;</td>
		<td height="17" valign="top" class="table_bottom_middle">&nbsp;</td>
		<td class="table_bottom_right">&nbsp;</td>
	</tr>
</table>
</body>
</html>
